package com.geek.crowdhub.repository.business;


import com.geek.crowdhub.model.business.Perk;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.PagingAndSortingRepository;


public interface PerkRepository extends PagingAndSortingRepository<Perk, Long>, CrudRepository<Perk, Long>, JpaSpecificationExecutor<Perk> {
    Page<Perk> findByTitleContaining(String title, Pageable pageable);
}
